package com.github.wxiaoqi.security.biz.entity;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;


/**
 * 标签库   存储标签名
 * 
 * @author Mr.AG
 * @email 463540703@qq.com
 * @date 2018-05-16 10:29:09
 */
@Table(name = "bh_lable")
public class BhLable implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //标签ID
    @Id
    private String id;
	
	    //标签名称
    @Column(name = "NAME")
    private String name;
	
	    //权重 权重值越高表示标签使用越频繁
    @Column(name = "WEIGHT")
    private Integer weight;
	

	/**
	 * 设置：标签ID
	 */
	public void setId(String id) {
		this.id = id;
	}
	/**
	 * 获取：标签ID
	 */
	public String getId() {
		return id;
	}
	/**
	 * 设置：标签名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：标签名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：权重 权重值越高表示标签使用越频繁
	 */
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	/**
	 * 获取：权重 权重值越高表示标签使用越频繁
	 */
	public Integer getWeight() {
		return weight;
	}
}
